home *** CD-ROM | disk | FTP | other *** search
/ PC Users 1998 March / Pc Users extra 6.iso / pshare95 / prog / formula1 / vcform1.z / frmGolfHelp.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1997-09-19  |  1.1 KB  |  38 lines

  1. VERSION 5.00
  2. Begin VB.Form frmHelp 
  3.    Caption         =   "VC Formula One Golf Help Information"
  4.    ClientHeight    =   5190
  5.    ClientLeft      =   2325
  6.    ClientTop       =   2160
  7.    ClientWidth     =   6615
  8.    LinkTopic       =   "Form1"
  9.    MaxButton       =   0   'False
  10.    MinButton       =   0   'False
  11.    ScaleHeight     =   5190
  12.    ScaleWidth      =   6615
  13.    Begin VB.TextBox Text1 
  14.       Height          =   4935
  15.       Left            =   120
  16.       MultiLine       =   -1  'True
  17.       ScrollBars      =   2  'Vertical
  18.       TabIndex        =   0
  19.       Top             =   120
  20.       Width           =   6375
  21.    End
  22. Attribute VB_Name = "frmHelp"
  23. Attribute VB_GlobalNameSpace = False
  24. Attribute VB_Creatable = False
  25. Attribute VB_PredeclaredId = True
  26. Attribute VB_Exposed = False
  27. Private Sub Form_Load()
  28.     Dim sPathName$
  29. On Error GoTo NoOpen
  30.     sPathName = App.Path & "\golf.txt"
  31.     Open sPathName For Input As 1
  32.     Text1.Text = Input$(LOF(1), 1)
  33.     Close 1
  34.     Exit Sub
  35. NoOpen:
  36.     MsgBox "Could not open 'Golf.txt'.  Please verify this file is in the same path as the application.", vbOKOnly
  37. End Sub
  38.